<?php

require "NotORM.php";

class dbconector {
    var $host;
    var $user;
    var $passw;
    var $dbname;
    var $db;

    public function __construct() {
        $this->host = "50.63.231.167";
		$this->user = "portalweekend";
		$this->passw = "Act!v3xps";
		$this->dbname = "portalweekend";

		$this->dsn = "mysql:dbname=".$this->dbname.";host=".$this->host;
		$this->pdo = new PDO($this->dsn, $this->user,$this->passw);
		$this->db = new NotORM($this->pdo);	

    }
    public function getInstancia()
    {
    	return $this->db;
    }
}
?>